/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package fr.annuaireComp.facades;

import fr.annuaireComp.entities.Personnel;
import java.util.List;
import java.util.Map;
import javax.ejb.Local;

/**
 *
 * @author MiniK
 */
@Local
public interface PersonnelFacadeLocal {

    void create(Personnel personnel);

    void edit(Personnel personnel);

    void remove(Personnel personnel);

    Personnel find(Object id);

    List<Personnel> findAll();

    List<Personnel> findRange(int[] range);

    int count();

    List<Personnel> findByEmail(String email);
    
    List<Personnel> findBy(Map<String, Object> params);
    
}
